75edcebc7081de727e807480ba5645b83ebf4217,subprojects/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java,RulesVisitor,visitMethodCallExpression,#MethodCallExpression#,82

Before Change


        ClosureExpression closureExpression = AstUtils.getSingleClosureArg(call);
        if (closureExpression != null) {
            // path { ... }
            rewriteAction(call, extractModelPathFromMethodTarget(call), closureExpression);
            return;
        }

After Change


        ClosureExpression closureExpression = AstUtils.getSingleClosureArg(call);
        if (closureExpression != null) {
            // path { ... }
            String modelPath = extractModelPathFromMethodTarget(call);
            rewriteAction(call, modelPath, closureExpression, modelPath + " { ... }");
            return;
        }